package nlptools;

import nlptools.enju.EnjuParser;
import nlptools.opennlp.OpenNLPParser;

public class NLPToolsFactory {
	private static EnjuParser enjuParser = new EnjuParser();
	private static OpenNLPParser openNLPParser= new OpenNLPParser();
	public static EnjuParser getEnjuParser()
	{
		if(enjuParser==null) enjuParser = new EnjuParser();
		return enjuParser;
	}
	public static OpenNLPParser getOpenNLPParser()
	{
		if(openNLPParser==null) openNLPParser = new OpenNLPParser();
		return openNLPParser;
	}
}
